package com.landinfo.service;

import com.landinfo.service.dto.SpecialMapServiceManageDTO;
import java.util.List;

/**
 * Service Interface for managing SpecialMapServiceManage.
 */
public interface SpecialMapServiceManageService {

    /**
     * Save a specialMapServiceManage.
     *
     * @param specialMapServiceManageDTO the entity to save
     * @return the persisted entity
     */
    SpecialMapServiceManageDTO save(SpecialMapServiceManageDTO specialMapServiceManageDTO);

    /**
     *  Get all the specialMapServiceManages.
     *
     *  @return the list of entities
     */
    List<SpecialMapServiceManageDTO> findAll();

    /**
     *  获取所有生效的专题图层信息
     *
     *  @return the list of entities
     */
    List<SpecialMapServiceManageDTO> findAllByEnable(boolean enable);

    /**
     *  通过父级Id获取子级所有数据
     *
     *  @return the list of entities
     */
    List<SpecialMapServiceManageDTO> getChildrenByParentId(String parentId);

    /**
     *  Get the "id" specialMapServiceManage.
     *
     *  @param id the id of the entity
     *  @return the entity
     */
    SpecialMapServiceManageDTO findOne(String id);

    /**
     *  根据图层组名获取数据
     *
     *  @param groupName the specialMapGroupName of the entity
     *  @return the entity
     */
    SpecialMapServiceManageDTO getByGroupName(String groupName);

    /**
     *  根据模板类型获取数据
     *
     *  @param type the specialMapGroupName of the entity
     *  @return the list of entities
     */
    List<SpecialMapServiceManageDTO> getByTemplateType(String type);

    /**
     *  Delete the "id" specialMapServiceManage.
     *
     *  @param id the id of the entity
     */
    void delete(String id);
}
